home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6658 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: dispatch.news.demon.net!demon!fe-line.demon.co.uk
  2. From: faye@fe-line.demon.co.uk (Faye Pearson)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: DOS compiler with socket support???
  5. Date: Thu, 15 Feb 1996 22:44:05 GMT
  6. Organization: fe-line
  7. Message-ID: <3123aba2.2561262@news>
  8. References: <31228C79.55B0@umbc.edu>
  9. NNTP-Posting-Host: fe-line.demon.co.uk
  10. X-NNTP-Posting-Host: fe-line.demon.co.uk
  11. X-Newsreader: Forte Agent .99c/16.141
  12.  
  13. Kevin Burton <kburto1@umbc.edu> wrote:
  14.  
  15. >I am looking for a C/C++ DOS compiler that has socket support for 
  16. >AF_INET,SOCK_STREAM sockets.  If anyone can offer any suggestions I 
  17. >would be very appreciative.
  18.  
  19. I was looking for this recently, if you want to use DOS TCPIP then you
  20. can use a library called wattcp, can't remember where I found it, but 
  21. it should be archie'able.
  22.  
  23. I think it will work with most compilers (there are several versions
  24. in a directory) but the version I tried was written for Borland C or
  25. Turbo C with Turbo Assembler.
  26.  
  27. djgpp which is a freeware DOS c/c++ compiler may come with a socket
  28. library, but I'm not sure about that.
  29.  
  30. EMX which is also a port of gcc (OS/2) comes with a socket library
  31. which is compatible with IBM TCP/IP. - it can compile code for DOS but
  32. I don't think the calls would work for anything other than IBM's
  33. TCP/IP.
  34.  
  35. I cannot comment on whether wattcp will work for you.  It does not
  36. work with Windows Sockets. - If anyone knows of a purely DOS (ie can
  37. be compiled without the New EXE header) library which can interface
  38. with WinSock(preferably for Borland) I'd be grateful.  I've seen
  39. something about the TCPIP VxD interface but I haven't seen anything
  40. which uses it. - does anyone know how to access a VxD from a DOS
  41. compiled program?  The documentation for the VxD TCPIP interface for
  42. Winsock is available on the net, along with header files - I think it
  43. was either vxdtcp or tcpvxd (an archie case insensitive substring
  44. search would certainly find it.)
  45.  
  46.  
  47. Faye
  48.